Skip to main content

Upload Documents to Cloudinary

POST /api/v1/documents/upload

Description

Upload documents to Cloudinary.

Path Parameters

NameTypeDescription
NoneNo parameters

Request Body

  • Content Type: application/json
{
"docs": [
{
"key": "productImage",
"value": "base64 string",
"type": "photos"
}
]
}

Response Code: 201 - Created

Description

Document(s) uploaded successfully.

Example

No specific response links provided for development environment.

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request POST \ 
--url /api/v1/documents/upload \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!